<script setup>

import {Check, Delete, Edit, Message, Search, Star} from "@element-plus/icons-vue";
</script>

<template>
  <div>
    <h1>demo04</h1>
    <h1>我是父组件</h1>
    <div class="children">
      <router-view/>

    </div>
  </div>
</template>

<style scoped>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  margin-top: 60px;
  background-color: #fafafa;
  font-size: 30px;
}

.children {
  width: 50%;
  height: 200px;
  color: #ffbbbb;
  background-color: #f0ffe5;
  border: 10px solid #2fadff ;
  border-radius: 10px;
  padding: 10px;
  margin: 10px auto;
}
</style>